package com.hlkj.pay.infrastructure.model.order;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;
import com.hlkj.pay.enums.MerchantEnum;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* 商户结算记录
* @TableName t_order_settle
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_order_settle")
public class OrderSettleDO extends BaseDO {
    /**
    * sn
    */
    @Schema(description = "sn")
    private String sn;
    /**
    * 
    */
    @Schema(description = "提现订单编号")
    private String cashOrderNo;
    /**
    * 
    */
    @Schema(description = "平台订单编号")
    private String payOrderNo;
    /**
    * 
    */
    @Schema(description = "订单金额")
    private BigDecimal amount;
    /**
    * 
    */
    @Schema(description = "结算手续费")
    private BigDecimal settleFee;
    /**
    * 
    */
    @Schema(description = "成功时间")
    private Long successTime;
    /**
    * 
    */
    @Schema(description = "结算日期")
    private Long settleDate;
    /**
    * 
    */
    @Schema(description = "备注")
    private String remark;
    /**
    * @see MerchantEnum.MERCHANT_ACCESS_AMOUNT_STATUS
    */
    @Schema(description = "状态 1=初始化，2=处理中，3=成功，4=失败，5=人工介入中")
    private Integer orderStatus;
    /**
    * 请求id
    */
    @Schema(description = "请求id")
    private String notifyUrl;
    /**
    * 请求id
    */
    @Schema(description = "进件id")
    private String requestId;
    /**
     * 商户商户号
     */
    @Schema(description = "商户商户号")
    private String appId;
    /**
     * 加密方式
     */
    @Schema(description = "加密方式")
    private String signType;

}
